runtime.p.runq (field)
33 uses
runtime (current package)
proc.go#L3476: gp, q := globrunqgetbatch(int32(len(pp.runq)) / 2)
proc.go#L3600: gp, q := globrunqgetbatch(int32(len(pp.runq)) / 2)
proc.go#L3680: gp, q := globrunqgetbatch(int32(len(pp.runq)) / 2)
proc.go#L5955: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L7510: if t-h < uint32(len(pp.runq)) {
proc.go#L7511: pp.runq[t%uint32(len(pp.runq))].set(gp)
proc.go#L7525: var batch [len(pp.runq)/2 + 1]*g
proc.go#L7530: if n != uint32(len(pp.runq)/2) {
proc.go#L7534: batch[i] = pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
proc.go#L7572: for !q.empty() && t-h < uint32(len(pp.runq)) {
proc.go#L7574: pp.runq[t%uint32(len(pp.runq))].set(gp)
proc.go#L7581: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L7585: pp.runq[off(i)], pp.runq[off(j)] = pp.runq[off(j)], pp.runq[off(i)]
proc.go#L7614: gp := pp.runq[h%uint32(len(pp.runq))].ptr()
proc.go#L7636: if qn > uint32(len(pp.runq)) { // read inconsistent h and t
proc.go#L7652: gp := pp.runq[(h+i)%uint32(len(pp.runq))].ptr()
proc.go#L7714: if n > uint32(len(pp.runq)/2) { // read inconsistent h and t
proc.go#L7718: g := pp.runq[(h+i)%uint32(len(pp.runq))]
proc.go#L7732: n := runqgrab(p2, &pp.runq, t, stealRunNextG)
proc.go#L7737: gp := pp.runq[(t+n)%uint32(len(pp.runq))].ptr()
proc.go#L7742: if t-h+n >= uint32(len(pp.runq)) {
runtime2.go#L805: runq [256]guintptr
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |